﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using xKnight.Models;

namespace xKnight.Attacking.CSRF
{
    public class CsrfAttackingSharedResource : AttackingSharedReource
    {
        internal Queue<Webpage> SharedQueue { get; private set; }

        public CsrfAttackingSharedResource(Webpage[] webpages, object sharedLock, Models.Attack attack)
            :base(sharedLock,attack)
        {
            this.SharedQueue = new Queue<Webpage>();
            foreach (var webpage in webpages)
                this.SharedQueue.Enqueue(webpage);

        }

    }
}
